package com.easy.dfc.service;


import com.easy.dfc.mapper.OrderActionMapper;
import com.easy.dfc.entity.OrderAction;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrderActionService {

    @Resource
    private OrderActionMapper orderActionMapper;

    public int insertSelective(OrderAction orderAction) {
        return orderActionMapper.insertSelective(orderAction);
    }

    public List<OrderAction> selectByOrderId(int orderId) {
        return orderActionMapper.selectByOrderId(orderId);
    }
}
